/* *******************************************************************************
 *      Copyright:  (C) 2025 ZYT
 *                  All rights reserved.
 *    
 *       Filename:  socket.h
 *    Description:  This file 
 *       
 *        Version:  1.0.0(07/04/25)
 *         Author:  Zhang yuting <zhangyuting@163.com>
 *      ChangeLog:  1, Release initial version on "07/04/25 22:20:46"
 *                          
 *********************************************************************************/

#ifndef _SOCKET_H_
#define _SOCKET_H_

#include <sys/types.h>
#include <sys/socket.h>
#include <string.h>
#include <errno.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <netinet/in.h>
#include <unistd.h>

#define CONFIG_DEBUG
#ifdef CONFIG_DEBUG
#define dbg_printf(format, args...) printf(format, ##args)
#else
#define dbg_printf(format, args...) do{} while(0)
#endif

int socket_server_init(int serv_port);

#endif

